package com.qf.bigdata.service.impl;

import com.qf.bigdata.repository.RawSQLQuery;
import com.qf.bigdata.service.RawSQLService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class RawSQLServiceImpl  implements RawSQLService {

    @Autowired
    private RawSQLQuery rawSQLQuery;

    @Override
    public List<Map<String, Object>> query(String sql) {
        return rawSQLQuery.query(sql);
    }
}
